/**
 * projectName: mbzwb-parent
 * fileName: AssertUtil.java
 * packageName: com.palmdoctor.mb.base.util
 * date: 2021-09-24 15:16
 * copyright(c) 2021 http://www.hydee.cn/ Inc. All rights reserved.
 */
package com.zny.sescore.util;


import com.zny.sescore.exception.BizException;
import com.zny.sescore.exception.IMsgEnum;

/**
 * @version: V1.0
 * @author: zhangnayi
 * @className: AssertUtil
 * @packageName: com.palmdoctor.mb.base.util
 * @description:
 * @data: 2021-09-24 15:16
 **/
public class AssertUtil {

    public static void notNull(Object obj, IMsgEnum msgEnum) {
        if (obj == null) {
            throw new BizException(msgEnum);
        }
    }
}